package 创建者模式.singleton.枚举方式;

/**
 * @Description TODO
 * @Author shallow
 * @Date 2023/3/1 14:43
 */

public class Client {
    public static void main(String[] args) {
        Singleton instance = Singleton.INSTANCE;
        Singleton instance1 = Singleton.INSTANCE;
        System.out.println(instance1 == instance);
    }
}
